package com.nubia.service;

import com.nubia.entity.Shops;
import com.nubia.entity.User;

import java.util.List;

public interface AdminService {
    //查看用户列表
    List<User> adminFindAllUser();
    //删除用户
    int delUserById(User user);
    //查看商品列表
    List<Shops> adminFindAllShops();

    //添加一条商品
    int adminInsShop(Shops shops);
    //删除商品
    int adminDleShop(String shop_id);

    //修改商品
    int adminUpdShop(Shops shops);
}
